﻿namespace funktionsPlotter
{
    class X_Werte_generieren : IX_Werte_generieren
    {
        public int[] x_Werte_generieren(int p_min, int p_max, int p_auflösung)
        {
            var p_spanne = p_max - p_min;
            var p_erg = new int[p_spanne + 1];
            var count = 0;
            for (int i = p_min; i <= p_max; i++)
            {
                p_erg[count] = i;
                count++;
            }
            return p_erg;
        }
    }
}
